<?php
    print $this->json(array(
        'message' => $this->message,
        'trace' => (array) $this->trace
    ));